﻿namespace Gonte.Workflow
{
    /// <summary>
    /// Identifies a task with its type
    /// </summary>
    public abstract class TypedTask
        : ITask
    {
        #region ITask Members

        public abstract TaskResult Execute(TaskContext context);

        #endregion

        /// <summary>
        /// The type of the task
        /// </summary>
        public string Type
        {
            get;
            set;
        }
    }
}
